<?php
  if (!function_exists('limitWord')) {
		function limitWord($string, $word_limit) {
			$words = explode(" ", $string);
      return implode(" ", array_splice($words, 0, $word_limit));
		}
	}
?>